﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace StopChecker
{
    class Program
    {
        static void Main(string[] args)
        {
            //read stoplist into array
            ArrayList ar = new ArrayList();
            TextReader tr = new StreamReader("stop.txt");
            string s;
            while ((s = tr.ReadLine()) != null)
            {
                ar.Add(s);
            }
            tr.Close();

            TextReader tr2 = new StreamReader("check.txt");

            // read checklist by line
            string old = "";
            while ((s = tr2.ReadLine()) != null)
            {
                if (!ar.Contains(s))
                    if (s != old)
                    {
                        Console.WriteLine(s);
                    }
                old = s;
                // if not in stoplist
                //if not= old_val print
                
            }

            tr2.Close();


        }
    }
}
